<template>
	<div class="box l3-box">
		<p>我是三级子组件</p>
		<p>我拿到了根组件传递过来的数据了：{{msg}}</p>
		<p>我拿到了应用传递过来的数据了：{{globalProvide}}</p>
	</div>
</template>

<script setup>
	import { inject } from 'vue' 
	
	const msg = inject('msg') 
	const globalProvide = inject('globalProvide')
</script>

<style>
</style>